module.exports = app => {
    const { router, controller } = app;
    router.get('/', controller.home.index);
    router.get('/api/index/banner', controller.index.banner.index);
    router.get('/api/index/new', controller.index.new.index);
    router.get('/api/index/detail/:id',controller.index.detail.index)
  };